|
|
| Chip Selection |
|
The first step in configuration of the block diagram should be to designate the Cypress FX/FX2 chip and pin-package for which you will be designing. The large,
blue, left rectange represents the FX/FX2 chip. Right-click
in the main body of that rectangle to bring-up the chip-selection
dialog box. Changing
chips, after waveforms have already been configured, will not
erase those waveforms. However, because the available
CTL and RDY lines may have changed, those waveforms may no longer
represent what the designer had in mind. If you change
chips after having designed waveforms, you should re-visit each
waveform (paying special attention to STATUS and CTL Action
Points) to verify their correctness. |
| Slave Labeling |
|
The large, blue, right rectangle represents the device attached to the FX/FX2 chip. The label of this device can be modified by right-clicking in the main body of the rectangle. The label
of the slave block has no impact whatever on the waveform generation.
It is provided as a matter of convenience only. The
label is saved, along with the block diagram, in GPIF Designer
project files (*.GPF). |
| Clock Settings |
|
Right-click on the Clock display area of the block diagram to bring-up the Clock Properties dialog box.
The Internal / External radio buttons of the dialog control the setting of the IFCLKSRC bit (b7) of the IFCONFIG register. The Invert Clock checkbox (FX2 only) controls the setting of the IFCLKPOL bit (b4) of the IFCONFIG register. The IFCLK Output checkbox (FX2 only) controls the setting of the IFCLKOE bit (b5) of the IFCONFIG register. The 30MHz / 48MHz radio buttons (only available if Internal clock is selected) control the setting of the 3048MHZ bit (b6) of the IFCONFIG register.
When
External Clock is selected, the Clock Frequency is only
used
to calculate the DeltaT displayed on the waveform editor tab
pages. This setting has no impact on the GPIF waveform
descriptor data that is exported to a GPIF.c file. Rather,
it is useful to correctly depict time intervals during waveform
editing. |
| Data Bus Selection |
|
The
second black data band, labelled Data [15:8], can be visually
enabled and disabled by right-clicking on that band. |
| ADR Line Configuration |
|
Right-click
on the group of ADR lines to bring-up the Config ADR Lines dialog
box. The dialog enables individual or group selection
of the address lines. |
| RDY Line Configuration |
|
The
RDY lines are used in the definition of STATUS
Action Points
(also known as Decision Points) in the waveform editors. The names
of the selected RDY lines are presented in the list of operands
for a decision point. So, the proper configuration of
the RDY lines is important.
|
| CTL Line Configuration |
|
To configure the CTL lines, right click on any of the block diagram's CTL lines.
The Lines
Can Be Tri-Stated? radio buttons significantly impact the
options available for CTL lines in both the block diagram and
the waveform editors. If the lines can be tri-stated,
a maximum of 4 CTL lines are available (3 for the 56-pin FX2).
Also, tri-stateable lines cannot be configured for Open-drain
output. [These Tri-Stated? radio buttons control the value of
the TRICTL bit (b7) of the GPIFCTLCFG register.] |